class Bag extends eui.Component implements eui.UIComponent {
	public constructor() {
		super();
	}
	public g_bag: eui.Group;
	public l_list: eui.List;

	protected childrenCreated(): void {
		super.childrenCreated();
		// ListViewUtil.initListView(this,this.l_list,[1,23,4,5,1,23,1,1], null,ListViewImageItem)
		ListViewUtil.initListView(this, this.l_list, [])
	}

	public setItemData(sourceArr: any[], onItemClick: Function) {
		ListViewUtil.refreshData(this.l_list, sourceArr);
		ListViewUtil.setOnItemClick(this.l_list, onItemClick);
	}
}
